home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XcmsSetWhitePoint.z / XcmsSetWhitePoint
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXccccmmmmssssSSSSeeeettttWWWWhhhhiiiitttteeeePPPPooooiiiinnnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXccccmmmmssssSSSSeeeettttWWWWhhhhiiiitttteeeePPPPooooiiiinnnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC
  10.           attributes
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           Status XcmsSetWhitePoint(_c_c_c, _c_o_l_o_r)
  14.                 XcmsCCC _c_c_c;
  15.                 XcmsColor *_c_o_l_o_r;
  16.  
  17.           XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(_c_c_c,
  18.           _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c, _c_l_i_e_n_t__d_a_t_a)
  19.                 XcmsCCC _c_c_c;
  20.                 XcmsWhiteAdjustProc _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c;
  21.                 XPointer _c_l_i_e_n_t__d_a_t_a;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _c_c_c       Specifies the CCC.
  25.  
  26.           _c_l_i_e_n_t__d_a_t_a
  27.                     Specifies client data for the white point
  28.                     adjustment procedure or NULL.
  29.  
  30.           _c_o_l_o_r     Specifies the new Client White Point.
  31.  
  32.           _w_h_i_t_e__a_d_j_u_s_t__p_r_o_c
  33.                     Specifies the white point adjustment procedure.
  34.  
  35.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  36.           The _X_c_m_s_S_e_t_W_h_i_t_e_P_o_i_n_t function changes the Client White
  37.           Point in the specified CCC.  Note that the pixel member is
  38.           ignored and that the color specification is left unchanged
  39.           upon return.  The format for the new white point must be
  40.           _X_c_m_s_C_I_E_X_Y_Z_F_o_r_m_a_t, _X_c_m_s_C_I_E_u_v_Y_F_o_r_m_a_t, _X_c_m_s_C_I_E_x_y_Y_F_o_r_m_a_t, or
  41.           _X_c_m_s_U_n_d_e_f_i_n_e_d_F_o_r_m_a_t.  If the color argument is NULL, this
  42.           function sets the format component of the Client White Point
  43.           specification to _X_c_m_s_U_n_d_e_f_i_n_e_d_F_o_r_m_a_t, indicating that the
  44.           Client White Point is assumed to be the same as the Screen
  45.           White Point.
  46.  
  47.           This function returns nonzero status if the format for the
  48.           new white point is valid; otherwise, it returns zero.
  49.  
  50.  
  51.           The _X_c_m_s_S_e_t_W_h_i_t_e_A_d_j_u_s_t_P_r_o_c function first sets the white
  52.           point adjustment procedure and client data in the specified
  53.           CCC with the newly specified procedure and client data and
  54.           then returns the old procedure.
  55.  
  56.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.           DisplayOfCCC(3X11), XcmsCCCOfColormap(3X11),
  58.           XcmsConvertColors(3X11), XcmsCreateCCC(3X11),
  59.           XcmsDefaultCCC(3X11)
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXccccmmmmssssSSSSeeeettttWWWWhhhhiiiitttteeeePPPPooooiiiinnnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXccccmmmmssssSSSSeeeettttWWWWhhhhiiiitttteeeePPPPooooiiiinnnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.